.com
Hosted by:
Unit testing expertise at your fingertips!
Home | Discuss | Lists

Code Refactorings

Recent Changes

Introduce Parameter Category: Code Refactorings 7 January 2005

Introduce Explaining Variable Category: Code Refactorings 7 January 2005
Put the results of the expression, or parts of the expression, in a temporary variable with a name that explains the purpose.
Introduce Local Extension Category: Code Refactorings 7 January 2005
Create a new class that contains these extra methods. Make this extension class either a subclass or a wrapper of the original.
Introduce Field Category: Code Refactorings 7 January 2005

Pull Up Field Category: Code Refactorings 12 November 2004
Move a field to a superclass of the class in which it is currently defined.
Move Field Category: Code Refactorings 12 November 2004
Move a method to a different class.
Pull Up Method Category: Code Refactorings 12 November 2004
Move a method to a superclass of the class in which it is currently defined.
Rename Method Category: Code Refactorings 12 November 2004
Change the name of the method.
Move Method Category: Code Refactorings 12 November 2004
Move a method to a different class.
Extract Class Category: Code Refactorings 14 April 2004

Inline Temp Category: Code Refactorings 14 April 2004
Replace all references to that temp with the expression.

Page generated at Wed Feb 09 16:39:54 +1100 2011

Copyright © 2003-2008 Gerard Meszaros all rights reserved

All Categories
Introductory Narratives
Web Site Instructions
Code Refactorings
Cross References & Lists
Database Patterns
DfT Patterns
External Patterns
Fixture Setup Patterns
Fixture Teardown Patterns
Front Matter
Glossary
Misc
References
Result Verification Patterns
Sidebars
Terminology
Test Double Patterns
Test Organization
Test Refactorings
Test Smells
Test Strategy
Tools
Value Patterns
XUnit Basics
xUnit Members
All "Code Refactorings"
Extract Class
Extract Implementer
Extract Interface
Extract Method
Extract Superclass
Inline Method
Inline Temp
Introduce Explaining Variable
Introduce Field
Introduce Local Extension
Introduce Parameter
Move Field
Move Method
Preserve Whole Object
Pull Up Field
Pull Up Method
Rename Method
Replace Conditional With Guard Clause
Replace Magic Number with Symbolic Constant
Replace Nested Conditional with Guard Clauses
Sprout Class